package com.hw.mapper.shoppingCart;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hw.entity.po.shoppingCart.ShoppingCart;
import com.hw.entity.vo.shoppingCart.ShoppingCartDataVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 购物车（已点列表） Mapper
 *
 * @author xuguang
 * @date 2021-06-29
 */
@Repository
public interface ShoppingCartMapper extends BaseMapper<ShoppingCart> {

    /**
     *  回显已点列表
     *
     * @param userId
     * @return
     */
    List<ShoppingCartDataVO> getData(@Param("userId")String userId, @Param("taskId") String taskId);
}
